<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setCharacterEncoding("UTF-8");
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>后台管理首页</title>

    <link href="<%=basePath%>/back_admin/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/nprogress/nprogress.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/iCheck/skins/flat/green.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/>
    <link href="<%=basePath%>/back_admin/vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
    <link href="<%=basePath%>/back_admin/build/css/custom.min.css" rel="stylesheet">
  </head>

  <body class="nav-md" onload="systemTime()">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="#" class="site_title"><i class="fa fa-paw"></i> <span>后台管理系统</span></a>
            </div>

            <div class="clearfix"></div>

            <!-- menu profile quick info -->
            <div class="profile clearfix">
              <div class="profile_pic">
                
              </div>
              <div class="profile_info" style="width:100%">
                <span style="width:100%">Welcome, 登陆管理系统</span>
              </div>
            </div>
            <br />
			<%@ include file="/WEB-INF/views/layout/left_menu.jsp"%>
          </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
          <div class="nav_menu" style="height:60px;line-height:60px;padding-left:60px;overflow:hidden;   ">
           		> 首页
          </div>
        </div>
        <div class="right_col" role="main">        
          <div class="row tile_count">

          </div>
          <div class="row">
          	<div>
          		 <div id="time" style="text-align: right; font-size: 20px"></div>
          	</div>
          	<div style="height: 30px;"></div>
          </div>
          <div class="row">
	        <div class="col-md-12 col-sm-4 col-xs-0" style="text-align: center;">
	          	<h1>江北区市民服务中心管理平台</h1>
	        </div>
          </div>
          <div class="row">
          	
          	<div class="col-md-12 col-sm-6 col-xs-12" style="text-align: center;">
          		<h1>数据库页面</h1>
          	</div>
          </div>
          <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12" >
          		 <%@ include file="/WEB-INF/views/layout/timeClick.jsp"%>
          	</div>
          </div>
        </div>
        <footer>
          <div class="clearfix">制作单位：来吧兄弟重创科技有限公司</div>
        </footer>
      </div>
    </div>

    <!-- jQuery -->
    <script src="<%=basePath%>/back_admin/vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="<%=basePath%>/back_admin/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="<%=basePath%>/back_admin/vendors/fastclick/lib/fastclick.js"></script>
    <!-- NProgress -->
    <script src="<%=basePath%>/back_admin/vendors/nprogress/nprogress.js"></script>
    <!-- Chart.js -->
    <script src="<%=basePath%>/back_admin/vendors/Chart.js/dist/Chart.min.js"></script>
    <!-- gauge.js -->
    <script src="<%=basePath%>/back_admin/vendors/gauge.js/dist/gauge.min.js"></script>
    <!-- bootstrap-progressbar -->
    <script src="<%=basePath%>/back_admin/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
    <!-- iCheck -->
    <script src="<%=basePath%>/back_admin/vendors/iCheck/icheck.min.js"></script>
    <!-- Skycons -->
    <script src="<%=basePath%>/back_admin/vendors/skycons/skycons.js"></script>
    <!-- Flot -->
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.pie.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.time.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.stack.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/Flot/jquery.flot.resize.js"></script>
    <!-- Flot plugins -->
    <script src="<%=basePath%>/back_admin/vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/flot-spline/js/jquery.flot.spline.min.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/flot.curvedlines/curvedLines.js"></script>
    <!-- DateJS -->
    <script src="<%=basePath%>/back_admin/vendors/DateJS/build/date.js"></script>
    <!-- JQVMap -->
    <script src="<%=basePath%>/back_admin/vendors/jqvmap/dist/jquery.vmap.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/jqvmap/examples/js/jquery.vmap.sampledata.js"></script>
    <!-- bootstrap-daterangepicker -->
    <script src="<%=basePath%>/back_admin/vendors/moment/min/moment.min.js"></script>
    <script src="<%=basePath%>/back_admin/vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
    <!-- Custom Theme Scripts -->
    <script src="<%=basePath%>/back_admin/build/js/custom.min.js"></script>
    <script type="text/javascript">
    var slidint;
    function newTimer() {
      stopit();
      var today;
      today = new Date();
      var str = today.toLocaleDateString();
      str += "  " + week();
      str += "  " + today.toLocaleTimeString();
      var o = document.getElementById("time");
      o.innerHTML = str;
      slidint = setTimeout(newTimer, 1000);
    }
       
    function stopit() {
      clearTimeout(slidint);
    }
       
    function week() {
      var d, day, x, s = " ";
      var x = new Array("星期日", "星期一", "星期二");
      var x = x.concat("星期三", "星期四", "星期五");
      var x = x.concat("星期六");
      d = new Date();
      day = d.getDay();
      return (s += x[day]);
    }
       
    window.onload = function() {
      newTimer();
    }
  </script>

  </body>
</html>